package love.yuanmengrobot.guoyitanghoutai.service;
/*
 *   @Studio:CHJY · 源梦科技
 *   @Author:CHJY创幻
 *   @Ide:IntelliJ IDEA
 *   @Creation time:2021/8/17 19:52
 */

import com.baomidou.mybatisplus.core.metadata.IPage;
import love.yuanmengrobot.guoyitanghoutai.dto.TbNatmehaHotspotAndPage;
import love.yuanmengrobot.guoyitanghoutai.pojo.TbNatmehaHotspot;
import love.yuanmengrobot.guoyitanghoutai.util.Parameters;
import love.yuanmengrobot.guoyitanghoutai.util.Vo;


public interface TbNatmehaHotspotService {

    IPage<TbNatmehaHotspot> selectHealthPreservation(int current, int limit, String dataType);
    IPage<TbNatmehaHotspot> selectHealthPreservationByHotspotTitle(int current, int limit, String dataType,String hotspotTitle);

    IPage<TbNatmehaHotspot> selectChildrenHealth(IPage<TbNatmehaHotspot> page);

    //获取药膳食疗内容
    Vo selectMedicineDiet(Parameters params);

    boolean insertChildrenHealth(TbNatmehaHotspot entity);

    boolean deleteChildrenHealth(String itemCode);

    boolean updateChildrenHealth(TbNatmehaHotspot entity);

    String selectChildrenHeathContent(String itemCode);

    int selectPageSum(int size);
    int insertHealthPreservation(TbNatmehaHotspot tbNatmehaHotspot);

    int updateHealthPreservation(TbNatmehaHotspot tbNatmehaHotspot);
    int updateHealthPreservationStatus(String itemcode ,String status);
    int deleteHealthPreservation(String itemcode);



    IPage getAll(TbNatmehaHotspotAndPage tbNatmehaHotspotAndPage);

    boolean insertTraditionalCultural(TbNatmehaHotspot tbNatmehaHotspot);

    boolean editTraditionalCultural(TbNatmehaHotspot tbNatmehaHotspot);

    boolean deleTraditionalCultural(TbNatmehaHotspot tbNatmehaHotspot);
}
